package com.ssm.blog.dao;

import com.ssm.blog.pojo.Diary;
import com.ssm.blog.pojo.criteria.DiaryCriteria;

import java.util.List;

public interface DiaryDAO {
    void addDiary(Diary diary);

    List<Diary> getDiaryList(DiaryCriteria criteria);

    void deleteDiary(Integer id);
}
